<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="DocumentClient._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
 
</head>
<body>
    <form id="form1" runat="server">
    <div>
        &nbsp;
        <table style="width: 447px">
            <tr>
                <td>
                    </td>
                <td style="width: 112px">
                    </td>
                <td>
                    Send Document</td>
            </tr>
            <tr>
                <td style="height: 67px">
                </td>
                <td style="width: 112px; height: 67px">
                </td>
                <td style="height: 67px">
                    &nbsp;
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <br />
                    <asp:Label ID="Label1" runat="server" Text="Friendly Document Name" Width="208px"></asp:Label><br />
                    <input id="tbFriendlyName" type="text" runat="server" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td>
                    <asp:Button ID="btSendFile" runat="server" Text="Send" OnClick="Button1_Click" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td>
                    Get Document</td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Friendly Document Name" Width="999px"></asp:Label></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td><input id="txGetFriendlyDocName" type="text" runat="server" style="width: 1045px" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td><asp:Button ID="btGetdoc" runat="server" Text="Get" OnClick="btGetdoc_Click" /></td>
            </tr>
            <tr>
                <td style="height: 21px">
                </td>
                <td style="width: 112px; height: 21px;">
                </td>
                <td style="height: 21px">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td>
                    <asp:Button ID="btGetAvailableFiles" runat="server" Text="GetFileListOnServer" OnClick="btGetAvailableFiles_Click" /></td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 112px">
                </td>
                <td>
                    <asp:Label ID="lbDocumentsOnServer" runat="server" Text="Documents on server" Width="372px"></asp:Label><br />
                    <asp:ListBox ID="lbFileList" runat="server" AutoPostBack="True" Height="383px" OnSelectedIndexChanged="lbFileList_SelectedIndexChanged" Width="368px"></asp:ListBox></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
